package com.cloudcross.ssp.model.rpt;

/**
 * 系统报表显示类
 * 2017-01-27
 * t_rpt_os
 * @author andy
 *
 */
public class OsRpt extends Report {
	
	//系统报表
	private short os;//操作系统（1-iOS，2-Android，3-WP,4-Symbian,5-MAC OS,6-Windows,7-other）

	public short getOs() {
		return os;
	}

	public void setOs(short os) {
		this.os = os;
	}
	
	public String getOsStr() {
		if (this.os == 1) {
			return "iOS";
		} else if (this.os == 2) {
			return "Android";
		} else if (this.os == 3) {
			return "WP";
		} else if (this.os == 4) {
			return "Symbian";
		}else if (this.os == 5) {
			return "MAC OS";
		} else if (this.os == 6) { 
			return "Windows";
		}else {
			return "other";
		}
	}

	@Override
	public String toString() {
		return "OsRpt [os=" + os + ", getId()=" + getId()
				+ ", getAdvertiserId()=" + getAdvertiserId()
				+ ", getOrderId()=" + getOrderId() + ", getLocationId()="
				+ getLocationId() + ", getDate()=" + getDate() + ", getShow()="
				+ getShow() + ", getClick()=" + getClick() + ", getEcpm()="
				+ getEcpm() + ", getConsume()=" + getConsume()
				+ ", getClickRate()=" + getClickRate() + "]";
	}

	
	
	
	
		

}
